from django.urls import path
from rest_framework.routers import DefaultRouter, SimpleRouter

from user.views import login, UserViewSet

urlpatterns = [
    path('login/', login),
    # path('register/', UserViewSet),
    # path('send_code_by_sms/<mobile>', send_code_by_sms),

]
router = DefaultRouter()
# router = SimpleRouter()
router.register('register', UserViewSet)
urlpatterns += router.urls
